#!/bin/bash
target=./...
if [ ! -z $1 ]; then
  target=$1
fi

go test $target -coverprofile=.coverage -vet=off ${@:2} \
  && go tool cover -func=.coverage

